package com.zzqstart.userservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzqstart.userservice.entity.UcenterMember;
import com.zzqstart.userservice.entity.vo.QueryChef;
import com.zzqstart.userservice.entity.vo.RegisterVo;

import java.util.Map;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2023-03-06
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String checkUser(UcenterMember ucenterMember);

    Boolean register(RegisterVo registerVo);

    UcenterMember getMemberById(String memberId);

    Map<String, Object> getAllChef(Long page, Long limit, QueryChef query);

    Map<String, Object> allMemberPage(long current, long limit, UcenterMember member);
}
